package com.atguigu.spzx.manager.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author syh
 * @create 2023-08-19 23:01
 */
@Mapper
public interface SysRoleMenuMapper {
    public List<Long> selectCheckedMenuIdsByRoleId(Long roleId);

    void deleteMenusByRoleId(Long roleId);

    void assignMenus2Role(@Param("roleId") Long roleId, @Param("menuIds") List<Long> menuIds);
}
